import Vue from 'vue';
import { createPinia, PiniaVuePlugin } from 'pinia';
// import piniaPersist from 'pinia-plugin-persistedstate'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
Vue.use(PiniaVuePlugin);

const store = createPinia()
store.use(piniaPluginPersistedstate)

export { store }

// export const store = createPinia();
// store.use(piniaPersist);

export * from './modules/demo';
